package br.com.rfqx.account;

import java.io.Serializable;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Embedded;
import javax.persistence.Entity;

import lombok.Data;

@Entity
@DiscriminatorValue(value = "SUPPLIER")
public class Supplier extends Account
					 implements Serializable {
	
	private static final long serialVersionUID = 1L;

	private String externalId;
	
	@Embedded
	private Address address;
	
	
	public Supplier() {
	}


	public String getExternalId() {
		return externalId;
	}


	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}


	public Address getAddress() {
		return address;
	}


	public void setAddress(Address address) {
		this.address = address;
	}

	
	
	
}
